package com.xy.demo.auth2.rs.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName: ExampleController
 * @Description: TODO
 * @author: xy
 * @date: 2022/3/6  下午5:58
 */

@RestController
@RequestMapping("/api/example")
public class ExampleController {

    @GetMapping("/hello")
    public String hello() {
        return "world";
    }
}
